package com.yuerlive.rainbow.module.homepage.presenter;

import com.yuerlive.rainbow.base.BasePresenter;
import com.yuerlive.rainbow.base.BaseView;
import com.yuerlive.rainbow.entity.BaseData;
import com.yuerlive.rainbow.entity.UserInfo;


/**
 * Created by Admin on 2017/7/4.
 */

public interface HomePageContract {
    interface Presenter extends BasePresenter {
        void getHomePageData(String otherId);
        void subscribe(String anchorId);
    }
    interface View extends BaseView<HomePageContract.Presenter> {
        void showResult(BaseData<UserInfo> results);
        void showSubscribeResult(int code, String anchorId);
    }
}
